import { requestPort } from '@/utils/request.js';

//请求模板列表
export function getOfficeUse(params) {
  return requestPort({
    url: '/api/drygoods/getList',
    method: 'post',
    params: params,
  })
}

//请求详情
export function getModelInfo(params) {
  return requestPort({
    url: '/api/drygoods/getListinfo',
    method: 'post',
    params: params,
  })
}

//下载模版
export function downloadModel(params) {
  return requestPort({
    url: '/api/drygoods/download',
    method: 'post',
    params: params,
    responseType: 'blob',
  })
}

// 相关推荐
export function get_relatedcommendlist(params) {
  return requestPort({
    url: '/api/drygoods/get_relatedcommendlist',
    method: 'post',
    params: params,
  })
}


//获取菜单列表
export function tabList(params) {
  return requestPort({
    url: '/api/drygoods/getCate',
    method: 'post',
    params: params,
  })
}